1
00:00:00,060 --> 00:00:01,000
Welcome back, everyone.

2
00:00:01,650 --> 00:00:07,240
One of my friend recently asked me, is it easy to be an ethical hacker?

3
00:00:08,550 --> 00:00:09,450
Just think about it.

4
00:00:11,100 --> 00:00:12,120
I would say no.

5
00:00:12,600 --> 00:00:17,280
It is simple to be an ethical hacker, but it's not easy to confuse.

6
00:00:17,290 --> 00:00:17,560
Right.

7
00:00:18,240 --> 00:00:21,240
Let me tell you why it is easy to learn.

8
00:00:21,450 --> 00:00:24,520
I mean, is it simple to learn every day?

9
00:00:24,900 --> 00:00:30,030
It is simple to learn every piece of ethical hacking every day.

10
00:00:30,450 --> 00:00:36,040
You can just learn every session of this entire course, every day.

11
00:00:36,060 --> 00:00:37,020
It's that easy.

12
00:00:37,260 --> 00:00:39,150
Just learn one section.

13
00:00:39,150 --> 00:00:41,550
Just learn one lecture every day.

14
00:00:41,580 --> 00:00:42,960
It's it's simple.

15
00:00:43,240 --> 00:00:43,620
All right.

16
00:00:44,250 --> 00:00:46,770
But you have to be consistent.

17
00:00:47,160 --> 00:00:52,780
So to answer your question, to answer my own question, it is not easy, but it is simple.

18
00:00:52,980 --> 00:00:53,460
All right.

19
00:00:53,820 --> 00:00:56,220
So let's talk about the session.

20
00:00:56,220 --> 00:00:56,850
At this moment.

21
00:00:57,150 --> 00:01:06,360
We are going to do some basic stuff, particularly in Unix and in this in this lecture will be understanding.

22
00:01:07,020 --> 00:01:13,680
Once you have your calendar installed, what are the first few commands you need to run?

23
00:01:15,210 --> 00:01:20,970
You might have came across a couple of stuff, a couple of problems.

24
00:01:22,500 --> 00:01:27,600
In that case, you can find some of the troubleshooting stuff steps.

25
00:01:27,600 --> 00:01:34,800
In fact, I will mention that are probably you may find some videos on this on the same lecture series

26
00:01:34,800 --> 00:01:39,720
itself, but if you have been successful enough, then let's get started.

27
00:01:40,260 --> 00:01:40,590
All right.

28
00:01:40,590 --> 00:01:42,450
So let's go to our Kelly machine.

29
00:01:42,840 --> 00:01:49,190
This is the lovely user interface of the data, the next stop experience.

30
00:01:49,530 --> 00:01:52,730
What do you need to do the moment you get your Kelly?

31
00:01:53,190 --> 00:01:54,620
Just click on this, Duminy.

32
00:01:55,020 --> 00:02:05,820
The top third option, you get an option saying, Kelly, Kelly, you have logged in as a user in the

33
00:02:05,970 --> 00:02:06,700
evening.

34
00:02:06,750 --> 00:02:11,400
Any kind of, you know, operating system in the moment, there could be two users.

35
00:02:11,760 --> 00:02:15,750
One is the normal user, another one is the root user.

36
00:02:15,870 --> 00:02:21,330
Now, remember, this road user is always having access to all the privileges.

37
00:02:21,570 --> 00:02:27,930
That's why he is a super user, not the normal user, as having a limited access.

38
00:02:27,930 --> 00:02:35,520
And in order to have access to all the resources that the route has, you always need to make use of

39
00:02:35,520 --> 00:02:43,750
a pseudo command as a prefix every time, whenever you are running those high privilege command.

40
00:02:43,950 --> 00:02:47,490
So you got the idea right in between those these two users.

41
00:02:47,490 --> 00:02:50,340
As a part of commands, you need a pseudo as a prefix.

42
00:02:50,700 --> 00:02:52,110
Let me show you how that works.

43
00:02:53,000 --> 00:02:55,260
I have logged in Ascoli at this moment.

44
00:02:55,590 --> 00:02:55,940
Right.

45
00:02:56,220 --> 00:03:00,010
So let's say I want to update the package now.

46
00:03:00,030 --> 00:03:01,740
What is that updating the package?

47
00:03:02,100 --> 00:03:08,400
Does this like you have multiple softness on your windows and probably on your Mac OS as well?

48
00:03:08,760 --> 00:03:16,980
When you're updating the package, it's about updating or it's all about updating their versions of

49
00:03:16,980 --> 00:03:19,140
your existing software.

50
00:03:19,350 --> 00:03:19,680
Right.

51
00:03:20,130 --> 00:03:25,260
But when I say upgrading, it's all about going to another other.

52
00:03:25,510 --> 00:03:32,910
You are going to not really a version going to another package altogether, jumping from one major release

53
00:03:32,910 --> 00:03:34,070
to another media release.

54
00:03:34,080 --> 00:03:34,300
Right.

55
00:03:34,560 --> 00:03:41,790
So in the windows as well, if I talk about upgrading its maybe Windows seven to Windows 10, when I

56
00:03:41,790 --> 00:03:46,410
talk about upgrading in Mac OS, it would be getting to maybe Pixar or anything else.

57
00:03:46,830 --> 00:03:53,440
But when I talk about updating, it's all about updating to maybe ten point one to ten point to all

58
00:03:53,460 --> 00:03:53,880
the stuff.

59
00:03:53,880 --> 00:03:54,130
Right.

60
00:03:54,390 --> 00:03:55,380
So you got the idea right.

61
00:03:56,370 --> 00:03:59,190
So in our case, let me update the packets.

62
00:03:59,190 --> 00:04:08,070
So if let's say I do the AAPT get that's the command to update the packages and I type the update A

63
00:04:08,310 --> 00:04:09,630
it's not going to work.

64
00:04:10,080 --> 00:04:11,010
I'll tell you why.

65
00:04:11,580 --> 00:04:14,870
Wait for a second and you see an error saying permission denied.

66
00:04:15,600 --> 00:04:16,290
You've got the idea.

67
00:04:16,290 --> 00:04:20,940
Right, because I have logged in as candy and that's the difference.

68
00:04:20,940 --> 00:04:24,330
If you remember, I talked about fruit over here and Kelly here.

69
00:04:24,480 --> 00:04:30,510
And there's a difference between based on privilege and in order to make use of the same privilege for

70
00:04:30,510 --> 00:04:37,950
those commands, you need to make use of pseudo type pseudo and the same command API to get update.

71
00:04:39,090 --> 00:04:39,980
You got the idea right.

72
00:04:40,350 --> 00:04:48,210
And every time you make use of this high privilege command while being the normal user, you have to

73
00:04:48,210 --> 00:04:49,470
type your password.

74
00:04:50,770 --> 00:04:56,400
Kelly, love is a wonderful right.

75
00:04:56,760 --> 00:04:59,790
And you see your packages are getting.

76
00:05:00,170 --> 00:05:03,020
Did it right, so that's the beauty.

77
00:05:03,350 --> 00:05:12,050
I hope you understanding how the update really works now, how could I you know, I'm doing I'm making

78
00:05:12,050 --> 00:05:17,660
use of pseudo every time you might forget, then you come back and then you again make use of pseudo

79
00:05:17,840 --> 00:05:18,550
aldosterone.

80
00:05:19,310 --> 00:05:21,620
How can I just, you know, come over it?

81
00:05:22,220 --> 00:05:24,590
It's a but just be a rude user.

82
00:05:25,370 --> 00:05:28,700
You just have to get the root access for that just type.

83
00:05:29,030 --> 00:05:31,580
Just get the privilege right.

84
00:05:31,580 --> 00:05:38,900
Sort of minocycline and you Bierut use it, not usually ask for the password because we have put that

85
00:05:38,930 --> 00:05:39,350
earlier.

86
00:05:39,350 --> 00:05:43,770
So it won't ask you at this moment if you have if you have tried earlier.

87
00:05:43,790 --> 00:05:49,400
So in that case, it might have prompted you to put the password for your candy.

88
00:05:49,850 --> 00:05:50,200
All right.

89
00:05:50,210 --> 00:05:51,590
So now I'm a drug user.

90
00:05:51,920 --> 00:05:54,920
From now onwards, I don't really have to make use of pseudo.

91
00:05:55,490 --> 00:05:59,210
Remember, pseudo is basically super user do.

92
00:05:59,450 --> 00:05:59,800
Right.

93
00:06:00,170 --> 00:06:01,290
Super user do.

94
00:06:01,370 --> 00:06:03,140
That's that's the main purpose.

95
00:06:03,650 --> 00:06:09,180
Whenever you are a normal user and if you want to run any privileged comment, you make use of pseudo.

96
00:06:09,590 --> 00:06:19,370
Now, if I want to make use of Sangamon, I can simply do a bit to get update and it's going to work

97
00:06:19,580 --> 00:06:22,120
just like the way it was earlier.

98
00:06:23,090 --> 00:06:23,540
Right.

99
00:06:23,870 --> 00:06:30,210
See, now I hope the updating the packages is clear to you.

100
00:06:30,560 --> 00:06:38,120
Now let's understand how the upgrade really works so I can simply do a pretty good upgrade.

101
00:06:39,530 --> 00:06:39,980
Lovely.

102
00:06:40,460 --> 00:06:47,240
And you see it asking me if I can if I'm ready to go for it.

103
00:06:47,270 --> 00:06:47,980
I just press.

104
00:06:47,990 --> 00:06:48,350
Yes.

105
00:06:48,830 --> 00:06:52,130
And you see, it didn't really ask me for pseudo.

106
00:06:52,610 --> 00:06:56,700
It's because I'm already a rude user, OK?

107
00:06:57,020 --> 00:07:02,900
And because I'm a rude user it won't really ask me for multiple privileges.

108
00:07:03,680 --> 00:07:13,550
OK now because I made use of a great command, it it would take a whole lot of time because in that

109
00:07:13,550 --> 00:07:21,080
case you are going to a major changes and this might take a couple of minutes in case you haven't tried

110
00:07:21,080 --> 00:07:22,550
earlier or to first set up.

111
00:07:23,180 --> 00:07:29,180
So Will will continue once it is done.

112
00:07:30,680 --> 00:07:31,310
All right.

113
00:07:31,310 --> 00:07:32,620
So it's done.

114
00:07:33,410 --> 00:07:40,160
Trust me, it took more than more than at least four minutes, four to five minutes, in a way.

115
00:07:41,900 --> 00:07:47,210
But finally, we are done because we have we have tried to upgrade it.

116
00:07:47,300 --> 00:07:47,750
All right.

117
00:07:48,020 --> 00:07:49,910
And we have been successful enough.

118
00:07:50,270 --> 00:07:58,220
So if you look at it, you can make use of up arrow and you get to know what all commands we we tried

119
00:07:58,610 --> 00:08:00,640
we made use of APD get upgraded.

120
00:08:01,090 --> 00:08:03,470
We made use of it to get upgrade as well.

121
00:08:03,740 --> 00:08:10,250
Usually if you you know, you might find way to make use of two commands in the next.

122
00:08:10,400 --> 00:08:11,360
There's a good idea.

123
00:08:11,360 --> 00:08:18,260
You can what are you can do is you can make use of two command center line by AP to a date and then

124
00:08:19,740 --> 00:08:23,450
an embassy and then your second command.

125
00:08:25,550 --> 00:08:34,610
This also works both command at the time and you see what have been done separately with the upgrade

126
00:08:34,970 --> 00:08:37,890
and update command works at a time.

127
00:08:38,120 --> 00:08:38,570
All right.

128
00:08:38,840 --> 00:08:46,430
So this is all about immediate upgrade upgrade as well, and not as a fan.

129
00:08:46,460 --> 00:08:51,770
You also know that if you have been into the route, I mean, you are already there.

130
00:08:52,160 --> 00:08:58,580
If you have been in these pseudo I mean, sorry, again, if you have been in the galley normal user,

131
00:08:59,060 --> 00:09:05,100
you will always have to make use of Souto as a prefix while using every commands.

132
00:09:05,150 --> 00:09:05,500
All right.

133
00:09:05,900 --> 00:09:07,640
So now this is done.

134
00:09:07,640 --> 00:09:08,710
This is the first stuff.

135
00:09:08,720 --> 00:09:11,150
Now let's add a new user for that.

136
00:09:11,150 --> 00:09:17,480
You need to just make use of add user that's Hegemann and just specify the name of it.

137
00:09:17,480 --> 00:09:19,490
So I type Roger.

138
00:09:19,940 --> 00:09:20,810
That's a user name.

139
00:09:21,020 --> 00:09:21,560
It's done.

140
00:09:21,950 --> 00:09:23,240
You specify the password.

141
00:09:24,290 --> 00:09:29,510
OK, retype the password, you can type the name of it.

142
00:09:29,780 --> 00:09:31,400
What's the name of that user?

143
00:09:32,060 --> 00:09:33,270
That would be the user name.

144
00:09:33,290 --> 00:09:38,600
You can specify whatever that's phone number and all the stuff once it is done.

145
00:09:38,600 --> 00:09:40,160
Is this information correct type?

146
00:09:40,160 --> 00:09:42,140
Yes, it's ready.

147
00:09:42,260 --> 00:09:46,580
Now, the user, your user, Roger, is all set with it.

148
00:09:46,700 --> 00:09:51,760
You have user Roger created this way you can create multiple users.

149
00:09:52,100 --> 00:09:55,490
Now this user is normal user by default, OK?

150
00:09:55,790 --> 00:09:59,770
This user is a part of normal user it one.

151
00:10:00,500 --> 00:10:08,480
Having it cannot be it cannot make use of any privilege command unless you make a part of a pseudo group

152
00:10:08,900 --> 00:10:19,550
to do that, you can put it into the pseudo group by making use of this command by user mode hyphen,

153
00:10:19,550 --> 00:10:22,070
e.g. pseudo and use.

154
00:10:22,080 --> 00:10:25,660
In the moment you do that, you are with that.

155
00:10:26,120 --> 00:10:34,890
Now, you made Roger a part of a part of the pseudo group.

156
00:10:35,210 --> 00:10:46,070
OK, another Roger can do all I can now run all the hyperbolic commands the way, the way Kelly used

157
00:10:46,070 --> 00:10:46,590
to do it.

158
00:10:46,730 --> 00:10:47,110
All right.

159
00:10:47,600 --> 00:10:50,110
So this is all about, all about it from now.

160
00:10:50,120 --> 00:10:53,750
And what's me probably be making use of Roger as a user.

161
00:10:53,750 --> 00:10:59,450
And we'll see, you know, what all commands try and exactly the same way we have been running.

162
00:11:00,380 --> 00:11:02,240
We can make use of Roger as well.

163
00:11:02,390 --> 00:11:02,770
All right.

164
00:11:03,110 --> 00:11:06,920
I hope you have found this lecture useful.

165
00:11:06,920 --> 00:11:10,280
If you have any cushion in it, you can find me in the.

166
00:11:10,580 --> 00:11:12,080
And I'll be there for you.

167
00:11:12,410 --> 00:11:12,920
Thank you.
